package com.css.fxfzxczh.modules.disasterSituationDataManage.baseDataManage.page;

import cn.hutool.db.sql.Order;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@ApiModel("分页接口查询参数基类")
public class BasePageParam {
    /**
     * 页码 默认1
     */
    @ApiModelProperty(name = "page", value = "页码，默认_1")
    private Integer page = 1;

    /**
     * 页大小 默认10
     */
    @ApiModelProperty(name = "rows", value = "页大小，默认_10")
    private Integer rows = 10;
    @ApiModelProperty(name = "orders", value = "排序字段")
    private Order[] orders;
    private String sourceFlag; // 来源：省级 1，国家级 2
    private String delFlag; // 0正常1删除
    private String dataVersion; // 数据版本
}
